#include"HeapTree.h"

int main() {
    char arr[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'};
    int freq[] = { 19, 18, 16, 14, 12, 8, 6, 4, 2, 1 };
    int size = sizeof(arr) / sizeof(arr[0]);

    HuffmanCodes(arr, freq, size);
    
    return 0;
}